package com.smart.car.finance;

import com.smart.car.finance.config.DataSourceProxyAutoConfiguration;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Import;

@Slf4j
@EnableDiscoveryClient
@Import({DataSourceProxyAutoConfiguration.class})
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class SmartcarFinanceApplication {

    public static void main(String[] args) {
        SpringApplication.run(SmartcarFinanceApplication.class, args);
        log.info("Finance财务服务已启动...");
    }

}
